Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix division by zero when prompt completion area is too small #9524

Merged
merged 2 commits into from
Feb 6, 2024
Merged

fix division by zero when prompt completion area is too small #9524

merged 2 commits into from
Feb 6, 2024

Conversation

diegostafa
Copy link
Contributor

@diegostafa diegostafa commented Feb 4, 2024

fixes #9523

helix-term/src/ui/prompt.rs Outdated Show resolved Hide resolved
@the-mikedavis the-mikedavis added C-bug Category: This is a bug A-helix-term Area: Helix term improvements S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Feb 6, 2024
@the-mikedavis the-mikedavis changed the title fix division by zero in helix-term/src/ui/prompt.rs:404:34 fix division by zero when prompt completion area is too small Feb 6, 2024
@the-mikedavis the-mikedavis added S-waiting-on-review Status: Awaiting review from a maintainer. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Feb 6, 2024
@archseer archseer merged commit a37af2d into helix-editor:master Feb 6, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-helix-term Area: Helix term improvements C-bug Category: This is a bug S-waiting-on-review Status: Awaiting review from a maintainer.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

attempt to divide by zero when resizing the terminal
3 participants